import { all } from "redux-saga/effects";

import { loginSaga } from "./loginSaga";
import { registerSaga } from "./registerSaga"
import { forgetPasswdSaga } from "./forgetPasswdSaga";
import { userinfoSaga } from "./userinfoSaga";
import { contentpageSaga } from "./contentpageSaga";
import { taskWorkerManagePageSaga } from "./taskWorkerManagePage";
import { taskMasterManagePageSaga } from "./taskMasterManagePage";
import { aboutMoneySaga } from "./aboutMoneySaga";
import { adminSaga } from "./admin";

export default function* Sagas () {
    yield all([
        loginSaga(),
        registerSaga(),
        forgetPasswdSaga(),
        userinfoSaga(),
        contentpageSaga(),
        taskWorkerManagePageSaga(),
        taskMasterManagePageSaga(),
        aboutMoneySaga(),
        adminSaga(),
    ])
}